package com.duanjc.dbtool.constant;

/**
 * The enum Db type.
 */
public enum DBType {
    /**
     * Mysql db type.
     */
    MYSQL(0, "com.mysql.cj.jdbc.Driver"),
    /**
     * Postgresql db type.
     */
    POSTGRESQL(1, "org.postgresql.Drive"),
    /**
     * Oracle db type.
     */
    ORACLE(2, "oracle.jdbc.driver.OracleDriver");

    private Integer type;

    private String driverClass;

    DBType(Integer type, String driverClass) {
        this.type = type;
        this.driverClass = driverClass;
    }
}
